import os
import os.path

def rm(filename):
    if os.path.isfile(filename):
        print('Remove file: %s' % filename)
        os.remove(filename)
    else:
        print('rm: file not exists')

